package com.itany.service;

import com.github.pagehelper.PageInfo;
import com.itany.exception.ManagerServiceException;
import com.itany.pojo.BookWithBLOBs;
import com.itany.pojo.Examine;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

public interface ExamineService {


    /**
     * @param book
     */
    public void addExamine(Integer supplierid, BookWithBLOBs book, CommonsMultipartFile file) throws ManagerServiceException;

    PageInfo<Examine> findBooksByExample(Integer page, Integer rows, String bookname, String isbn, Integer supplierId) throws ManagerServiceException;

    Examine findById(Integer id);


    Examine update(Integer id, Integer flag, String info) throws ManagerServiceException;
}
